/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.goods.dao;

import java.util.List;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.goods.entity.ZtAddr;
import com.jeesite.modules.goods.entity.ZtFinancial;
import org.apache.ibatis.annotations.Param;

/**
 * 测试数据DAO接口
 * @author ThinkGem
 * @version 2018-04-22
 */
@MyBatisDao
public interface ZtFinancialDao extends CrudDao<ZtFinancial> {
	
	public List<ZtFinancial> getMh(ZtFinancial ztFinancial);
	public Double getTotalComm(ZtFinancial ztFinancial);
	public Double getTodayComm(ZtFinancial ztFinancial);
	public long updatePriceList(List<ZtFinancial> ztFinancials);
	public int updateAdminId(@Param("newAdminId") String newAdminId, @Param("ztAdminId")String ztAdminId);
}